[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 twSumArray( aArray, nStart, nEnd )
 ----------------------------------------------------------------------------
     Sum an Array of numerics or strings. For numbers the arithmetic
     sum is returned. For strings, the total length of the strings is
     returned.

       Arguments:

     aArray - 'A' Array to be summed.

     nStart - 'N' Start element. Defaults  to the first element.

     nEnd   - 'N' End element. Defaults to the last element.

       Return:

     Numeric.

       Example:

     nArraySum := twSumArray( aNumbers )

     nTotalLength := twSumArray( aStrings )



This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson